#pragma once
#include "pch.h"

using namespace DirectX;
using namespace Microsoft::WRL;

class D2D1DeviceWrapper
{
private:
	ComPtr<ID2D1Device2>            m_d2dDevice;
	ComPtr<ID2D1Factory3>           m_d2dFactory;
	ComPtr<ID2D1DeviceContext2>     m_d2dDeviceContext;
	ComPtr<ID3D11DeviceContext>    m_d3d11DeviceContext;
	ComPtr<ID3D11On12Device>  m_d3d11On12Device;

	ComPtr<IDWriteFactory3>         m_dwriteFactory;
	ComPtr<IWICImagingFactory2>     m_wicFactory;

public:
	void CreateDevice(ComPtr<ID3D12Device> d3d12Device, ComPtr<ID3D12CommandQueue> commandQueue);
};

